Platform Explorer / Nuxeo Platform LTS 2017 9.10

Component org.nuxeo.ecm.platform.comment.coreTypes

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.comment.coreTypes">

  <require>org.nuxeo.ecm.core.CoreExtensions</require>

  <extension target="org.nuxeo.ecm.core.schema.TypeService" point="schema">
    <schema name="comment" prefix="comment" src="schema/comment.xsd" />
  </extension>

  <extension target="org.nuxeo.ecm.core.schema.TypeService" point="doctype">

    <doctype name="CommentRoot" extends="Folder">
      <facet name="HiddenInNavigation" />
      <facet name="HiddenInCreation" />
      <subtypes>
        <type>Folder</type>
        <type>HiddenFolder</type>
      </subtypes>
    </doctype>

    <doctype name="Comment" extends="Document">
      <schema name="comment" />
      <schema name="common" />
      <schema name="dublincore" />
      <facet name="HiddenInNavigation" />
      <prefetch>
        dc:title, dc:modified, comment.author, comment.text,
        comment.creationDate
      </prefetch>
    </doctype>

    <doctype name="Domain" append="true">
      <subtypes>
        <type>CommentRoot</type>
      </subtypes>
    </doctype>
  </extension>

  <extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService"
    point="types">
    <types>
      <type name="CommentRoot">default</type>
    </types>
    <types>
      <type name="HiddenFolder">default</type>
    </types>
  </extension>

</component>